package com.hlkj.pay.app.merchant.ext.impl.huifu.dto;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.alibaba.fastjson.annotation.JSONField;
import com.huifu.bspay.sdk.opps.core.enums.FunctionCodeEnum;
import com.huifu.bspay.sdk.opps.core.request.BaseRequest;
import lombok.Data;
/**
 * @author HlpayTeam
 * @date 2024/10/11 17:14
 */
@Data
public class V2TradeHostingPaymentPreorderRequest extends BaseRequest {
	
	/**
	 * 商户号
	 */
	@JSONField(name = "huifu_id")
	private String huifuId;
	/**
	 * 请求日期
	 */
	@JSONField(name = "req_date")
	private String reqDate;
	/**
	 * 请求流水号
	 */
	@JSONField(name = "req_seq_id")
	private String reqSeqId;
	/**
	 * 预下单类型
	 */
	@JSONField(name = "pre_order_type")
	private String preOrderType;
	/**
	 * 交易金额
	 */
	@JSONField(name = "trans_amt")
	private String transAmt;
	/**
	 * 商品描述
	 */
	@JSONField(name = "goods_desc")
	private String goodsDesc;
	/**
	 * app扩展参数集合
	 */
	@JSONField(name = "app_data")
	private String appData;
	/**
	 * app扩展参数集合
	 */
	@JSONField(name = "time_expire")
	private String timeExpire;
	
	/**
	 * 微信小程序扩展参数集合
	 */
	@JSONField(name = "miniapp_data")
	private String miniAppData;
	
	/**
	 * 半支付托管扩展参数集合
	 */
	@JSONField(name = "hosting_data")
	private String hostingData;
	
	@Override
	public FunctionCodeEnum getFunctionCode() {
		return FunctionCodeEnum.V2_TRADE_HOSTING_PAYMENT_PREORDER;
	}
}
